package org.itboys.mobile.dto.cookbook;


import org.itboys.mobile.dto.common.MobileBaseDto;

import java.util.List;
import java.util.Map;

/**
 * 作者：zzq
 * 时间：2017年5月9日
 * 描述：花果山（农厨）_移动端_菜谱__dto
 */
public class KitchenCookBookDto extends MobileBaseDto{
    private String viceName;//菜谱副名称
    private String name;//菜谱名称
    private String time;//烹饪时间
    private String difficulty;//烹饪难度
    private String detail;//效果  细节描述
    private String image;//菜谱主图
    private Integer isCollection;//是否收藏
    private String descUrl;//详情地址
    private List<KitchenCookBookProductDto> products;//菜谱食材
    private List<Map<String,Object>> cookBooks;//推荐食谱

    public KitchenCookBookDto() {

    }

    public KitchenCookBookDto(long id, String createTime, String createDate,
                              String viceName, String name, String time, String difficulty,
                              String detail, String image, Integer isCollection, String descUrl,
                              List<KitchenCookBookProductDto> products, List<Map<String,Object>> cookBooks) {

        super(id, createTime, createDate);
        this.viceName = viceName;
        this.name = name;
        this.time = time;
        this.difficulty = difficulty;
        this.detail = detail;
        this.image = image;
        this.isCollection = isCollection;
        this.descUrl = descUrl;
        this.products = products;
        this.cookBooks=cookBooks;
    }

    public String getViceName() {
        return viceName;
    }

    public void setViceName(String viceName) {
        this.viceName = viceName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(Integer isCollection) {
        this.isCollection = isCollection;
    }

    public String getDescUrl() {
        return descUrl;
    }

    public void setDescUrl(String descUrl) {
        this.descUrl = descUrl;
    }

    public List<KitchenCookBookProductDto> getProducts() {
        return products;
    }

    public void setProducts(List<KitchenCookBookProductDto> products) {
        this.products = products;
    }

    public List<Map<String, Object>> getCookBooks() {
        return cookBooks;
    }

    public void setCookBooks(List<Map<String, Object>> cookBooks) {
        this.cookBooks = cookBooks;
    }
}
